*{
    margin: 0px;
    padding: 0px;
}
.BackGround-Color{
    width: 100%;
    height: 100vh;
    margin-bottom: auto;
    background-image: linear-gradient(180deg,#e66464c4,#9198e5bd);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 游戏首页css样式 */

.Main{
    width: 500px;
    height: 600px;
    background-color: rgba(240, 255, 255, 0.4);
    border-radius: 20px;
    overflow: hidden;
}
.Main-header{
    display: flex;
    width: 100%;
    height:100px;
    align-items: center;
    justify-content: center;
    line-height: 60px;
}
.Main-header h1{
    font-family: "宋体";
    color: #03A9F4;
    font-size: 40px;
}
.Main-option{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 400px;
    justify-content: center;
    align-items: center;
}
.Main-option a{
    margin: 20px;
    width: 100px;
    height: 40px;
    border-radius: 10px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5),cyan);
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    display: block;
    border: 2px solid blueviolet;
}
.btn{
    margin: 20px;
    width: 100px;
    height: 40px;
    border-radius: 10px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5),cyan);
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    display: block;
    border: 2px solid blueviolet;
}
.Main-option a:hover{
    transform: scale(1.2);
    transition: all 0.5s;
}
.Main-rule{
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    width: 100%;
    
    line-height: normal;
    height: 80px;
}
.Main-rule h5{
    text-align: center;
    cursor: pointer;
    line-height: 80px;
}
.Main-rule p{
    text-align: center;
    cursor: pointer;
    line-height: 80px;

}
.Main-rule:hover h5{
    color: transparent;
    transition: all 0.5s;
}
.Main-rule:hover p{
    transform: translateY(-80px);
    transition: all 0.5s;
}


/* 经典模式css样式 */
.ClassicGame-Container{
    background-color: rgba(0, 255, 255, 0.3);
    width: 400px;
    height: 750px;
    overflow: hidden;
}
.ClassicGame-Title h2{
    position: relative;
    top: 20px;
    text-align: center;
    font-size:xx-large;
    z-index: 10;
    cursor: pointer;
    color: rgba(255, 0, 0);
}
.Line-Block{
    width: 400px;
    height: 130px;
    margin-bottom: 1px;
}
.Line-Block span{
    display: block;
    float: left;
    cursor: pointer;
    width: 98px;
    height: 150px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    transform: translateY(-6250px);
}
#ClassicGame-Start{
    text-align: center;
    line-height: 150px;
    font-size: 20px;
    color:white;
}
.Line-Block span:hover{
    box-shadow:0px 0px 3px azure;
}
/* .Line-Block{
    transform: translateY(600px);
    transition: all 2s;
} */
.Black-Block{
    background-color: rgba(0, 0, 0, 0.5);
}
.Grey-Block{
    background-color: rgba(128, 128, 128, 0.3);
}
.Red-Block{
    background-color: red;
}
#Lose{
    position: absolute;
    top: 200px;
    width: 500px;
    height: 0px;
    text-align: center;
    line-height: 100px;
    border-radius: 20px;
    background-color: white;
    overflow: hidden;
}
#Lose a{
    position: relative;
    left: 180px;
    margin: 20px;
    width: 100px;
    height: 40px;
    border-radius: 10px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5),cyan);
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    display: block;
    border: 2px solid blueviolet;
}
.Win-View{
    visibility: initial;
}
.Score{
    position: absolute;
    right: 20px;
    top: 10px;
}
.Time{
    position: absolute;
    left: 20px;
    top: 10px;
    width: 150px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: white;
    font-size: 30px;
    border: 3px solid black;
}
